<%@page import="fr.uniscol.model.BaseAnneeScolaire"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<div class="container-fluid">
    <div class="row">
        <form:form name="frmDevoir" action="devoir.save" method="post" modelAttribute="devoir" class="form-horizontal" role="form">
            <form:hidden path="id" />
            <form:hidden path="service.id" />
            
            <div class="form-group">
                <label class="col-sm-1 control-label" for="nom">Service</label>
                <div class="col-sm-6">
                    ${devoir.service}
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-1 control-label" for="nom">Intitulé</label>
                <div class="col-sm-6">
                    <form:input path="intitule" placeholder="Intitulé" required="true" class="form-control" />
                </div>
            </div>
                
            <div class="form-group">
                <label class="col-sm-1 control-label" for="nom">Coefficient</label>
                <div class="col-sm-6">
                    <form:input path="coefficient" placeholder="Coefficient" required="true" class="form-control" />
                </div>
            </div>
                
            
            
        </form:form>
    </div>
</div>